package com.xiaoge.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xiaoge.entity.Role;
import com.xiaoge.vo.RoleVO;

import java.util.List;

/**
 * <p>
 * 角色表 服务类
 * </p>
 *
 * @author XiaoGe
 * @since 2022-05-28
 */
public interface RoleService extends IService<Role> {

    void authority(Long id, Long[] mids);

    List<Long> findMenuIdsByRoleId(Long id);

    void updateStatus(Long id, Boolean status);

    RoleVO edit(Long id);

    void updateRole(RoleVO roleVO);

    void delete(Long id);

}
